package com.qingke.demo3;

import org.junit.Test;

public class SpringTest1 {
	@Test
	public void demo1(){
		UserDao userDao = new UserDaoImpl();
		userDao.add();
		userDao.update();
	}
	@Test
	public void demo2(){
		UserDao userDao = new UserDaoImpl();
		UserDao proxy = new JDKProxy(userDao).createProxy();
		proxy.add();
		proxy.update();
	}
}
